package cate.common.table.activity.powerdash.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

/**
 * @author liuyunke
 * @program: cate-game
 * @create
 * @description:
 */
public class PowerDashRow extends ERow {
    @NoteField("下限战力")
    public long lowest;
    @NoteField("上限战力")
    public long highest;
    @NoteField("提升战力")
    public long target;
    @NoteField("奖励")
    public String reward;
    @NoteField("分组")
    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID");
        this.lowest = xrw.getLong("下限战力");
        this.highest = xrw.getLong("上限战力");
        this.target = xrw.getLong("提升战力");
        this.reward = xrw.getString("奖励");
        this.group = xrw.getInteger("分组");
    }
}
